<!doctype html >
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<body th:fragment="tpl-head">
<header>
    <!-- logo -->
    <div class="am-fl tpl-header-logo">
        <a href="/framework/index"><img th:src="@{/img/logo.png}" alt=""/></a>
    </div>
    <!-- 右侧内容 -->
    <div class="tpl-header-fluid">
        <!-- 侧边切换 -->
        <div class="am-fl tpl-header-switch-button am-icon-list">
                    <span>

                </span>
        </div>
        <!-- 搜索 -->
        <!--<div class="am-fl tpl-header-search">-->
            <!--<form class="tpl-header-search-form" action="javascript:;">-->
                <!--<button class="tpl-header-search-btn am-icon-search"></button>-->
                <!--<input class="tpl-header-search-box" type="text" placeholder="搜索内容..."/>-->
            <!--</form>-->
        <!--</div>-->
        <!-- 其它功能-->
        <div class="am-fr tpl-header-navbar">
            <ul>
                <!-- 欢迎语 -->
                <li class="am-text-sm tpl-header-navbar-welcome">
                    <a href="javascript:;">欢迎你,<span th:text="${currentUser.loginName}"></span></a>
                </li>

                <!-- 退出 -->
                <li class="am-text-sm">
                    <a data-href="/loginframework/logout"  class="default-btn-link">
                        <span class="am-icon-sign-out"></span> 退出
                    </a>
                </li>
            </ul>
        </div>
    </div>

</header>

</body>
</html>